<h2> Update thông tin quản trị</h2>
<span class="label label-primary"> <?php yii::app()->user->hasFlash('contact');echo Yii::app()->user->getFlash('contact');?></span>

    <form action="index.php?r=admin/admin/editmost" method="post" enctype="multipart/form-data" >
        <table class="col-lg-3">
            <tr class="col-lg-12">

                <td class="col-lg-5">Username: </td>
                <td class="col-lg-7 "><input type="text" name="username" value="<?php echo $admin->username?>"></td>
            </tr>

            <tr class="col-lg-12">
                <td class="col-lg-5">Password: </td>
                <td class="col-lg-7"><input type="text" name="password" value="<?php echo $admin->password?>"></td>
            </tr>
            <tr class="col-lg-12">
                <td class="col-lg-5">Email: </td>
                <td class="col-lg-7"><input style="width: 200px" type="email" name="email" value="<?php echo $admin->email;?>"></td>
            </tr>
            <tr class="col-lg-12">
                <td class="col-lg-5">Images product</td>
                <td class="col-lg-7"><input type="file" name="file_upload"></td>
            </tr>
            <tr class="col-lg-12">
                <td class="col-lg-5">Images product</td>
                <td class="col-lg-7"><img style="width: 200px" src="<?php echo $admin->avatar?>"></td>
            </tr>
            <tr class="col-lg-12">
                <td class="col-lg-0"> </td>
                <td class="col-lg-12"><input type="submit" name="submit" placeholder="submit"></td>
            </tr>
        </table>
    </form>




